# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-milc
pkgver=1.6.6
pkgrel=0
pkgdesc="Opinionated Batteries-Included Python 3 CLI Framework"
url="https://milc.clueboard.co"
arch="noarch"
license="MIT"
depends="python3 py3-appdirs py3-argcomplete py3-colorama py3-halo"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-semver"
source="$pkgname-$pkgver.tar.gz::https://github.com/clueboard/milc/archive/$pkgver.tar.gz"
builddir="$srcdir/milc-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="." pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
070f3402c2e4268c49957b5d6dd958959d7611a21651e3e2b0a0a69a957bfbf934705bb6ecfd7275deefe6bcae62d3a1bda8f5ae9e52541b9a2a26d0eac38bf0  py3-milc-1.6.6.tar.gz
"
